package DBLayer;

import ModelLayer.SalesOrder;
import java.util.ArrayList;

/**
 *
 * @author Gruppe 2
 */
public interface IFDBSalesOrder {
    // get all SalesOrders
    public ArrayList<SalesOrder> getAllSalesOrders();
    //finde by Id
    public SalesOrder searchSalesOrderID(int salesOrderId);
    //Insert SalesOrder
    public int insertSalesOrder(SalesOrder saleOrder);
    //update information about an SalesOrder
    public int updateSalesOrder(SalesOrder saleOrder);
    //delete SalesOrder
    public int deleteSalesOrder(int salesID);
}
